package net.guerlab.sdk.anubis.request;

import net.guerlab.sdk.anubis.AnubisConstants;
import net.guerlab.sdk.anubis.entity.DeliveryQueryInfo;
import net.guerlab.sdk.anubis.response.DeliveryQueryResponse;

/**
 * 配送服务查询请求
 * 
 * @author guer
 *
 */
public class DeliveryQueryRequest extends AbstractBusinessRequest<DeliveryQueryResponse> {

    /**
     * 配送服务查询信息
     */
    private DeliveryQueryInfo deliveryQueryInfo;

    @Override
    protected void createRequestUri(
            StringBuilder builder) {
        builder.append(AnubisConstants.URL_CHAIN_STORE_DELIVERY_QUERY);
    }

    @Override
    protected Object getReuqestData() {
        return deliveryQueryInfo;
    }

    /**
     * 返回 配送服务查询信息
     *
     * @return 配送服务查询信息
     */
    public DeliveryQueryInfo getDeliveryQueryInfo() {
        return deliveryQueryInfo;
    }

    /**
     * 设置配送服务查询信息
     *
     * @param deliveryQueryInfo
     *            配送服务查询信息
     */
    public void setDeliveryQueryInfo(
            DeliveryQueryInfo deliveryQueryInfo) {
        this.deliveryQueryInfo = deliveryQueryInfo;
    }

}
